package com.zytech.zspider.transformer;

import com.zytech.zspider.core.SpiderDefinition;

import java.io.InputStream;

/**
 * @author siuming
 */
public interface SpiderDefinitionTransformer {

    /**
     * @param text
     * @return
     */
    SpiderDefinition transform(String text);

    /**
     * @param in
     * @return
     */
    SpiderDefinition transform(InputStream in);
}
